﻿using GalaSoft.MvvmLight;
using NicoView.Model.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NicoView.ViewModel
{
    

    public class NicoViewConnectionSelectionViewModel:NicoViewViewModelBase
    {
        private INicoConnectSelection _nicoConnectSelection;

       

        public NicoViewConnectionSelectionViewModel(INicoConnectSelection nicoConnectSelection)
        {
            _nicoConnectSelection = nicoConnectSelection;
        }

        public string ThumbnailPath
        {
            get
            {
                return _nicoConnectSelection.ThumbnailImagePath;
            }
        }

        public string DisplayTitle
        {
            get
            {
                return _nicoConnectSelection.Id + " " + _nicoConnectSelection.Title;
            }
        }

        public string Id
        {
            get
            {
                return _nicoConnectSelection.Id;
            }
        }

        public override string ToString()
        {
            return DisplayTitle;
        }
    }
}
